pub fn main() {
    use common_uu::time::sleep_rand;
    use rpa_drive::DriverTrait;
    use std::thread::sleep;
    use std::time::Duration;

    // common_uu::toml_read::run("./config_rpa.toml", std::env::set_var).unwrap();
    common_uu::mylog::init_log("test_fun");
    let driver = &rpa_drive::NewThirtyfour().unwrap();
    driver.navigate_to("https://b2c.csair.com/B2C40/newTrips/static/main/page/booking/index.html?t=S&c1=CSX&c2=CTU&d1=2021-06-30&at=1&ct=0&it=0").unwrap();
    sleep_rand(3000, 6000);
    let r = driver.get_values(".zls-flgno-info");
    let r2 = driver.get_with_cookie(&serde_json::json!({
        "url": "https://uba.csair.com/snc-uba-receive/browser/data/action?stm=1623289699966",
        "headers": {
            "Content-Type": "text/plain;charset=UTF-8",
            "Referer": "https://b2c.csair.com/",
    }}));
    println!("航班: {:#?}", r);
    println!("r2: {:#?}", r2);
}
